home *** CD-ROM | disk | FTP | other *** search
/ Small Time Crooks Press Kit / Small Time Crooks Press Kit.iso / pc / Small Time Crooks.dxr / Scripts_13_Blocker Behavior.ls < prev    next >
Encoding:
Text File  |  2000-04-30  |  609 b   |  33 lines

  1. on mouseEnter me
  2.   nothing()
  3. end
  4.  
  5. on mouseDown me
  6.   nothing()
  7. end
  8.  
  9. on mouseUp me
  10.   nothing()
  11. end
  12.  
  13. on mouseLeave me
  14.   nothing()
  15. end
  16.  
  17. on mouseWithin me
  18.   nothing()
  19. end
  20.  
  21. on getBehaviorDescription me
  22.   set endChar to offset("--END OF HEADER", the text of me)
  23.   set endLine to the number of lines in char 1 to endChar of the text of me - 1
  24.   set description to line 1 to endLine of the text of me
  25.   repeat with whichLine = endLine down to 1
  26.     if line whichLine of description = EMPTY then
  27.       delete line whichLine of description
  28.     end if
  29.   end repeat
  30.   delete line 1 of description
  31.   return description
  32. end
  33.